package com.lys.emsystem.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lys.emsystem.entity.LoginLog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lys.emsystem.utils.Result;
import com.lys.emsystem.vo.LoginLogVo;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liyansheng
 * @since 2022-05-06
 */
public interface ILoginLogService extends IService<LoginLog> {

    void registerLoginLog(String name, Integer roleId, HttpServletRequest request);

    Result search(Page page, LoginLogVo loginLogVo);

}
